package com.gateway.pay.channel.service.impl;

import com.gateway.pay.channel.dto.BaseRequest;
import com.gateway.pay.channel.dto.Result;
import com.gateway.pay.channel.service.IThirdPartyService;
import com.gateway.pay.channel.strategy.request.RequestFacadeContext;
import org.springframework.beans.factory.annotation.Autowired;

public class ThirdPartyServiceImpl implements IThirdPartyService {

    @Autowired
    private RequestFacadeContext facadeContext;

    @Override
    public Result register(BaseRequest request) {
        return facadeContext.register(request);
    }
}
